#pragma once

#include "cocos2d.h"
#include "cocos-ext.h"

using namespace cocos2d;

class WaveEndedLayer : public CCLayer 
{
public:
    virtual bool init();  
    CREATE_FUNC(WaveEndedLayer);

	~WaveEndedLayer(void); 
	
	void waveEnded(CCScene* scene);
	void toUpdrade(CCObject* pSender);
	void nextWave(CCObject* pSender);
private:
	extension::UILayer *m_pUiLayer;
    extension::Layout *m_pWidget;
	CCSize _winSize;
	CCScene* _scene;
};


